fix: Add DownloadContent to support downloads of any size#3818
fix: Add DownloadContent to support downloads of any size#3818sheeeng wants to merge 3 commits intogoogle:masterfrom
DownloadContent to support downloads of any size#3818Conversation
Fix google#3810. Fix google#2480. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
36cde08 to
79cf23a
Compare
DownloadContent to support downloads of any size
gmlewis
left a comment
There was a problem hiding this comment.
My biggest concern is that we now have:
- DownloadContent
- DownloadContents
- DownloadContentsWithMeta
- GetContent
- GetContents
How is a user supposed to understand which one to choose?
Good point. I will think about it. |
Fix google#3810. Fix google#2480. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
These two are existing functions. Do we want to expose |
Delete DownloadContentsWithMeta function and its references. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
The |
Well, it seems we have a number of people interested in this topic based on the conversation in #2480 and #3810. I would really like to get some feedback from the individuals who care about these endpoints before we start changing it dramatically, and the only way I can think of doing that is to start listing GitHub logins that commented, unfortunately. cc: Please provide your feedback on how these endpoints should be handled: |
(Full disclosure: Adding DownloadContent was my suggestion, so I can't independently say whether it will make sense to other people.) FWIW, those methods are not all on the same type. Grouping it a bit differently:
I think that, with reasonable comments on each, users will be able to find a method that does what they need, and ignore the rest. |
|
Setting this PR as draft as waiting for more feedback. |
Fix #3810.
Fix #2480.